#ifndef __AS_CONSTANT__H__
#define __AS_CONSTANT__H__

#include "..\base\ASDataType.h"
#include "..\base\ASStdLib.h"
#include "..\tool\ASLog.h"


/************************************************************************/
/* internal image resource information                                  */
/************************************************************************/
#define IMG_LOGO            "logo.bmp"
#define IMG_LOGO_W          152
#define IMG_LOGO_H          130

#define IMG_BOTTOM          "bottom.bmp"
#define IMG_BOTTOM_W        5
#define IMG_BOTTOM_H        40

#define IMG_TOP             "top.bmp"
#define IMG_TOP_W           5
#define IMG_TOP_H           40

#define IMG_BOTTOM_ICON_W   38
#define IMG_BOTTOM_ICON_H   38
#define IMG_DETAIL_D        "detail_d.bmp"
#define IMG_DETAIL_U        "detail_u.bmp"
#define IMG_STAT_D          "stat_d.bmp"
#define IMG_STAT_U          "stat_u.bmp"
#define IMG_DATA_D          "data_d.bmp"
#define IMG_DATA_U          "data_u.bmp"
#define IMG_SETTING_D       "setting_d.bmp"
#define IMG_SETTING_U       "setting_u.bmp"

#define IMG_CHARGE_D        "charge_d.bmp"
#define IMG_CHARGE_U        "charge_u.bmp"
#define IMG_CHARGE_W        80
#define IMG_CHARGE_H        33

#define IMG_NEW_REC       "new_rec.bmp"
#define IMG_NEW_REC_W     100
#define IMG_NEW_REC_H     30

#define IMG_NUMPAD        "number_pad.bmp"
#define IMG_NUMPAD_W      150
#define IMG_NUMPAD_H      158

#define IMG_DATE_W        31
#define IMG_DATE_H        33
#define IMG_YEAR_D        "year_d.bmp"
#define IMG_YEAR_U        "year_u.bmp"
#define IMG_MONTH_D       "month_d.bmp"
#define IMG_MONTH_U       "month_u.bmp"
#define IMG_DAY_D         "day_d.bmp"
#define IMG_DAY_U         "day_u.bmp"
#define IMG_HOUR_D        "hour_d.bmp"
#define IMG_HOUR_U        "hour_u.bmp"
#define IMG_MINUTE_D      "minute_d.bmp"
#define IMG_MINUTE_U      "minute_u.bmp"

#define IMG_NML_LIST_HL   "nml_list_h.bmp"
#define IMG_NML_LIST_HL_H 30
#define IMG_NML_LIST_HL_W 5

#define IMG_SML_LIST_HL   "sml_list_h.bmp"
#define IMG_SML_LIST_HL_H 20
#define IMG_SML_LIST_HL_W 5

#define IMG_OP_TITLE_MEMBER  "title_member.bmp"
#define IMG_OP_TITLE_PAY  "title_pay.bmp"
#define IMG_OP_TITLE_INCOME  "title_income.bmp"
#define IMG_OP_TITLE_TYPE  "title_type.bmp"
#define IMG_OP_TITLE_W 51
#define IMG_OP_TITLE_H 33

void as_sync_internal_img_info(void);
void as_get_internal_img_res_size(ASCHAR* name, ASINT* res_w, ASINT* res_h);


#endif//__AS_CONSTANT__H__